/*
 * AreaScientifica
 * 
 * The class AreaScientifica represents a scientific area in the system
 * 
 * Author: Carmine Colicino, Luigi Di Martino
 * Version: 1.0
 * 
 * 2014 - Copyright by Team 6 - University of Salerno
*/

package it.unisa.udocs.data;

public class AreaScientifica {

	
	private int id_area;
	private String nome;
	private String codiceArea;
	
	
	/**
	 * Constructs a new AreaScientifica
	 * 
	 * @param id - the id of a scientific area
	 * @param n - the name of a scientific area
	 * @param cod - the code of a scientific area
	 */
	public AreaScientifica(int id, String n,String cod){
		id_area=id;
		nome=n;
		codiceArea=cod;
		
	}
	
	/**
	 * Returns the id of a scientific area
	 * 
	 * @return the id of a scientific area
	 *
	 */
	public int getId_area() {
		return id_area;
	}
	
	/**
	 * Sets the id of a scientific area
	 * 
	 * @param id_area - the id of a scientific area
	 * 
	 */
	public void setId_area(int id_area) {
		this.id_area = id_area;
	}
	
	/**
	 * Returns the name of a scientific area
	 * 
	 * @return the name of a scientific area
	 *
	 */
	public String getNome() {
		return nome;
	}
	
	/**
	 * Sets the name of a scientific area
	 * 
	 * @param nome - the name of a scientific area
	 * 
	 */
	public void setNome(String nome) {
		this.nome = nome;
	}
	
	/**
	 * Returns the code of a scientific area
	 * 
	 * @return the code of a scientific area
	 *
	 */
	public String getCodiceArea() {
		return codiceArea;
	}
	
	/**
	 * Sets the code of a scientific area
	 * 
	 * @param codiceArea - the code of a scientific area
	 * 
	 */
	public void setCodiceArea(String codiceArea) {
		this.codiceArea = codiceArea;
	}
	
	
}
